#!/bin/sh

echo "machine:"
read MACHINE_OPTION
rm -rf ~/.config/nvim/lazy-lock.json
echo "build option:"
read BUILD_OPTION
sudo nixos-rebuild ${BUILD_OPTION} --flake /etc/nixos#${MACHINE_OPTION}
